<%@page contentType="text/html;charset=utf-8"%>
<script src="${CTX}/static/plugins/art-template/template-web.js"></script>
<style>
.ys-table {
	width: 100%;
	table-layout: fixed;
	border-spacing: 5px 5px;
	font-size: 13px;
	font-weight: 700;
}

.ys-table tr td:nth-child(odd) {
	text-align: right;
	width: 40px;
	border-width: 1px 1px 1px 1px;
	color: #676a6c;
	background-color: #f5f5f5;
}

.ys-table tr td:nth-child(even) {
	border-width: 0 0 1px 0;
	color: #444;
}
</style>
<script id="rkfx_ys" type="text/html">
	{{set col=${PARAM.ysls}}}
	<table class="ys-table">
		{{each list}}
			{{if $index%col==0}}
				<tr>
			{{/if}}
			<td>{{$value.ys}}：</td>
			{{if $value.rkfxRed==true}}
				<td style="color: red;background-color: yellow;">{{$value.rkfx}}</td>
			{{else}}
				<td>{{$value.rkfx}}</td>
			{{/if}}
			{{if index%col==0}}
				</tr>
			{{/if}}
		{{/each}}
	</table>
</script>
<script id="ckfx_ys" type="text/html">
	{{set col=${PARAM.ysls}}}
	<table class="ys-table">
		{{each list}}
			{{if $index%col==0}}
				<tr>
			{{/if}}
			<td>{{$value.ys}}：</td>
			{{if $value.ckfxRed==true}}
				<td style="color: red;background-color: yellow;">{{$value.ckfx}}</td>
			{{else}}
				<td>{{$value.ckfx}}</td>
			{{/if}}
			{{if index%col==0}}
				</tr>
			{{/if}}
		{{/each}}
	</table>
</script>
<script id="pcfx_ys" type="text/html">
	{{set col=${PARAM.ysls}}}
	<table class="ys-table">
		{{each list}}
			{{if $index%col==0}}
				<tr>
			{{/if}}
			<td>{{$value.ys}}：</td>
			{{if $value.pcfxRed==true}}
				<td style="color: red;background-color: yellow;">{{$value.pcfx}}</td>
			{{else}}
				<td>{{$value.pcfx}}</td>
			{{/if}}
			{{if index%col==0}}
				</tr>
			{{/if}}
		{{/each}}
	</table>
</script>